<?php
namespace addons\ad\models;
use models\BaseModel;

class AdModel extends BaseModel {
    protected $auto = [
        ['create_time' , 'time' , self::MODEL_INSERT , 'function']
    ];

//    protected $validate = [
//        ['category_id' , 'required' , '请选择分类'] ,
//        ['title' , 'required' , '请输入商品名'] ,
//    ];
}